package com.eric.server;

import com.eric.server.UI.MonitorUI;
import com.eric.server.monitor.MonitorServer;
import com.eric.server.packet.PacketType;

/**
 * Created by eric on 2017/11/15.
 */
public class Bootstrap {
    public static void main(String []s){

        MonitorUI ui = new MonitorUI("监控");
        MonitorServer server = new MonitorServer(ui);
        ui.setServer(server);
        PacketType.initPackets();

        ui.showMonitor();

    }
}
